package day04_0624;

public class Test8 {
    public static void main(String[] args) {
        for (int i = 1; i <= 4; i++) {

            for (int j = 1; j <= 4-i; j++) {
                System.out.print(" ");
            }

            for (int j = 1; j <= i; j++) {//i1时打印1个  i2时打印2个  i3时打印3个  i4时打印4个
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
